/* 容器宽度和内边距 */
.container {
  padding: 40px 20px;
  background-color: #f7f7f7;
  box-sizing: border-box;
}

/* 上传头像框 */
.avatar-upload {
  display: flex;
  justify-content: center; /* 水平居中 */
  text-align: center;
  margin-bottom: 20px;
  cursor: pointer;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ddd;
}

.avatar-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background-color: #f0f0f0;
  border: 2px dashed #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
}

.avatar-placeholder-text {
  font-size: 16px;
  color: #888;
}

/* 输入框样式 */
.input-group {
  margin-bottom: 20px;
}

.input-field {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  background-color: #fff;
  border: 1px solid #e1e1e1;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
}

/* 验证码输入框与按钮 */
.captcha-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.captcha-input {
  flex: 1;
  min-width: 30%;
}

.captcha-canvas {
  width: 33%;
  height: 48px;
  border-radius: 4px;
  border: 1px solid #e1e1e1;
  cursor: pointer;
  flex-shrink: 0;
  display: block;
  margin-left: 10px;
  background-color: #f4f4f4;
}

/* 注册按钮 */
.register-btn {
  width: 100%;
  height: 48px;
  background-color: #0bb684;
  color: #fff;
  border-radius: 4px;
  font-size: 16px;
  border: none;
  margin-top: 20px;
  cursor: pointer;
}

/* 登录按钮 */
.login-btn {
  background: none;
  border: none;
  color: #1AAD19;  /* 微信风格的绿色 */
  font-size: 16px;
}

/* 注册链接 */
.signup-link {
  text-align: center;
  margin-top: 20px;
}


.input-group label {
  font-size: 14px;
  margin-bottom: 6px;
  color: #333;
}

.input-group {
  display: flex;
  align-items: center;  /* 使label和radio在同一行 */
  gap: 10px;  /* 控制label和radio之间的间距 */
}

.input-group {
  display: flex;
  align-items: center;  /* 使所有元素在同一行 */
  gap: 15px;  /* 控制各个元素之间的间距 */
}

.gender-label, .age-label {
  margin-right: 10px;  /* 给label添加右边距，保证和input/radio之间有间隔 */
}

.radio-group {
  display: flex;
  gap: 10px;  /* 控制单选框之间的间距 */
}

.radio-option {
  font-size: 14px;
}

.age-input {
  width: 100px;
  padding: 5px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

